<include file="Public:header"/>
<form class="ajax-form" action="" method="post">
<div class="form_data">
	<include file="edit_option"/>

	<div class="mod_data">
		<div class="name">名称</div>
		<div class="input_data">
			<input type="text" name="title" value="{$info['title']}" datatype="*" style="width: 500px;" placeholder="请填写合同名称">
		</div>
	</div>

	<div {:D('Role')->is_acl('show_category_field?type=' . $type)}>
		{:W('Plugin/category_select', array('类别', 'category_id', $type, 1, 1))}
	</div>

	{:W('Plugin/upload_file', array('icon_id', 'img', '图标(未选中)', '', 0, '', 1))}
	{:W('Plugin/upload_file', array('selected_icon_id', 'img', '图标(已选中)', '', 0, '', 1))}
	{:W('Plugin/upload_file', array('images_ids', 'img', '图片', '', 1, '', 1))}

	<div class="mod_data">
		<div class="name">服务价格</div>
		<div class="input_data">
			<input type="text" class="price" name="service_price" value="{$info['service_price']}" datatype="price,eqmin" style="width: 80px;" eqmin="1" placeholder="服务价格"> 元
		</div>
	</div>

	<div class="mod_data">
		<div class="name">价格单位</div>
		<div class="input_data">
			<input type="text" name="price_unit" value="{$info['price_unit']|default='项'}" datatype="*" style="width: 80px;" placeholder="单位">
		</div>
	</div>

	<div class="mod_data">
		<div class="name">合同说明</div>
		<div class="input_data">
			<textarea name="description" style="width:500px;height:120px;">{$info['description']}</textarea>
		</div>
	</div>

	<div class="mod_data">
		<div class="name">服务说明</div>
		<div class="input_data">
			<textarea name="service_description" style="width:500px;height:120px;">{$info['service_description']}</textarea>
		</div>
	</div>

	<div class="mod_data">
		<div class="name">咨询QQ客服</div>
		<div class="input_data">
			<input type="text" name="qq_service" value="{$info['qq_service']}" datatype="*" style="width: 500px;" placeholder="请填写咨询QQ客服">
		</div>
	</div>

	{:W('Plugin/select_admin_user', array('客服人员', 'service_user_id', 0))}
	{:W('Plugin/select_admin_user', array('审核人员', 'audit_user_id', 0))}

	<div class="mod_data">
		<div class="name">服务详情</div>
		<div class="input_data">
			<textarea name="service_content" class="ueditor" id="ueditor_service_content" style="width: 850px;height:350px;">
				{$info['service_content']}
			</textarea>
		</div>
	</div>

	<div class="mod_data">
		<div class="name">为什么选择米律</div>
		<div class="input_data">
			<textarea name="why_select_milv" class="ueditor" id="ueditor_why_select_milv" style="width: 850px;height:350px;">{$info['why_select_milv']}</textarea>
		</div>
	</div>

	<div class="mod_submit">
		<input type="hidden" name="id" value="{$info['id']}">
		<input type="hidden" name="type" value="{$type}">
		<button type="submit" class="btn btn-save">保存</button>
		<button type="reset" class="btn btn-reset">重置</button>
		<button class="btn btn-back">返回</button>
	</div>
</div>
</form>
<include file="Public:footer"/>